﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Notice.aspx.cs" Inherits="Notice" %>
<%@ Register src="UserControls/Left_Trends.ascx" tagname="Left_Trends" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>通知公告-河北大学管理学院信息管理系</title>
    <link href="CSS/pagebody.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <!-- left start-->
    <div id="left">
        <uc1:Left_Trends ID="Left_Trends1" runat="server" />
    </div>
    <!-- left end -->
    <!--  right start -->
    <div id="right">
        <div class="right-top">
            <div style="font-size: 14px; padding-top: 8px; padding-left: 18px">
                您的当前位置：<a href="Default.aspx">首页</a> > <a href="Notice.aspx?ID=">通知公告</a> > 
            </div>
        </div>
        <div class="right-center">
            <ul>
                <asp:ListView ID="notList" runat="server">
                    <ItemTemplate>
                        <li>
                            <a href='NoticeDetails.aspx?Id=<%#Eval("notID")%>'><%#  Eval("notTitle").ToString().Length<25?(Eval("notTitle").ToString()):(Eval("notTitle").ToString().Substring(0,25)+"...")%></a>
                              <div style="float:right"><%#Eval("notTop").ToString() == "True" ? "↑" : ""%>【<%#Eval("notTime","{0:d}")%>】</div>

                         </li>
                    </ItemTemplate>
                </asp:ListView>
            </ul>
            <br />
            <asp:DataPager ID="notPager" runat="server" PagedControlID="notList"  PageSize="10">
                <Fields>
                    <asp:NextPreviousPagerField ShowFirstPageButton="True" 
                        ShowNextPageButton="False" FirstPageText="&lt;&lt;" PreviousPageText="&lt;" />
                    <asp:NumericPagerField />
                    <asp:NextPreviousPagerField ShowLastPageButton="True"
                        ShowPreviousPageButton="False" LastPageText="&gt;&gt;" 
                        NextPageText="&gt;" />
                </Fields>
            </asp:DataPager>
        </div>
    </div>
    <!--  right end -->
</asp:Content>

